package com.kxmall.storage.domain.vo;

import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.kxmall.common.annotation.ExcelDictFormat;
import com.kxmall.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 仓库管理视图对象 kx_storage
 */
@Data
@ApiModel("仓库管理视图对象")
@ExcelIgnoreUnannotated
public class KxStorageVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "仓库ID")
    @ExcelProperty(value = "仓库ID")
    private Long id;

    @ApiModelProperty(value = "仓库名称")
    @ExcelProperty(value = "仓库名称")
    private String name;

    @ApiModelProperty(value = "省")
    @ExcelProperty(value = "省")
    private Long province;

    @ApiModelProperty(value = "省")
    @ExcelProperty(value = "省")
    private String provinceName;

    @ApiModelProperty(value = "市")
    @ExcelProperty(value = "市")
    private Long city;

    @ApiModelProperty(value = "市")
    @ExcelProperty(value = "市")
    private String cityName;

    @ApiModelProperty(value = "区（县）")
    @ExcelProperty(value = "区", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "县=")
    private Long county;

    @ApiModelProperty(value = "区（县）")
    @ExcelProperty(value = "区")
    private String countyName;

    @ApiModelProperty(value = "详细地址")
    @ExcelProperty(value = "详细地址")
    private String address;

    //@ApiModelProperty(value = "区域编码")
    //@ExcelProperty(value = "区域编码")
    //private String adcode;

    //@ApiModelProperty(value = "备注")
    //@ExcelProperty(value = "备注")
    //private String remark;

    @ApiModelProperty(value = "状态 0.禁用 1.正常")
    @ExcelProperty(value = "状态 0.禁用 1.正常")
    private Integer state;

    @ApiModelProperty(value = "经度")
    @ExcelProperty(value = "经度")
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度")
    @ExcelProperty(value = "纬度")
    private BigDecimal latitude;

    @ApiModelProperty(value = "仓库管理电话")
    @ExcelProperty(value = "仓库管理电话")
    private String phone;

    @ApiModelProperty(value = "仓库管理名称")
    @ExcelProperty(value = "仓库管理名称")
    private String leaderName;

    @ApiModelProperty(value = "创建时间")
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @ExcelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "更新时间")
    @ExcelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "更新人")
    @ExcelProperty(value = "更新人")
    private String updateBy;

    //@ApiModelProperty(value = "营业状态 0.休息 1.营业")
    //@ExcelProperty(value = "营业状态 0.休息 1.营业")
    //private Integer operatingState;

    //@ApiModelProperty(value = "营业起始时间")
    //@ExcelProperty(value = "营业起始时间")
    //private String businessStartTime;

    //@ApiModelProperty(value = "配送起始时间")
    //@ExcelProperty(value = "配送起始时间")
    //private String deliveryStartTime;

    //@ApiModelProperty(value = "营业结束时间")
    //@ExcelProperty(value = "营业结束时间")
    //private String businessStopTime;

    //@ApiModelProperty(value = "配送结束时间")
    //@ExcelProperty(value = "配送结束时间")
    //private String deliveryStopTime;

    //@ApiModelProperty(value = "配送范围")
    //@ExcelProperty(value = "配送范围")
    //private Long deliveryRadius;

    //@ApiModelProperty(value = "是否自动分配订单【0：非自动 1：自动】")
    //@ExcelProperty(value = "是否自动分配订单【0：非自动 1：自动】")
    //private Integer automatic;

    //@ApiModelProperty(value = "状态 0.禁用 1.正常")
    //@ExcelProperty(value = "状态 0.禁用 1.正常")
    //private Integer printSwitch;

    //@ApiModelProperty(value = "账号名")
    //@ExcelProperty(value = "账号名")
    //private String printAcount;

    //@ApiModelProperty(value = "Ukey")
    //@ExcelProperty(value = "Ukey")
    //private String printUkey;

    //@ApiModelProperty(value = "SN")
    //@ExcelProperty(value = "SN")
    //private String printSn;

    //private BigDecimal distance;

}
